home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / C-D / DeveloperStax.cpt / Developer Stack 1.1 / card_6402.txt < prev    next >
Text File  |  1989-02-26  |  2KB  |  76 lines

  1. -- card: 6402 from stack: in.1
  2. -- bmap block id: 0
  3. -- flags: 4000
  4. -- background id: 2612
  5. -- name: Talk
  6.  
  7.  
  8. -- part 1 (button)
  9. -- low flags: 00
  10. -- high flags: A004
  11. -- rect: left=226 top=243 right=293 bottom=283
  12. -- title width / last selected line: 0
  13. -- icon id / first selected line: 27056 / 27056
  14. -- text alignment: 1
  15. -- font id: 0
  16. -- text size: 12
  17. -- style flags: 0
  18. -- line height: 16
  19. -- part name: Try it
  20. ----- HyperTalk script -----
  21. on mouseUp
  22.   if the optionkey is down then pass mouseup
  23.   talk "this is a test of the talk external command",150,150
  24. end mouseUp
  25.  
  26.  
  27.  
  28. -- part 2 (button)
  29. -- low flags: 00
  30. -- high flags: A003
  31. -- rect: left=82 top=302 right=324 bottom=182
  32. -- title width / last selected line: 0
  33. -- icon id / first selected line: 0 / 0
  34. -- text alignment: 1
  35. -- font id: 0
  36. -- text size: 12
  37. -- style flags: 0
  38. -- line height: 16
  39. -- part name: Install
  40. ----- HyperTalk script -----
  41. on mouseUp
  42.   if the optionkey is down then pass mouseup
  43.   put installres(XCMD,Talk) into it
  44.   if it is empty then play oops
  45.   else answer it
  46. end mouseUp
  47.  
  48.  
  49.  
  50. -- part contents for background part 2
  51. ----- text -----
  52. Talk
  53.  
  54. -- part contents for background part 13
  55. ----- text -----
  56. 8
  57.  
  58. -- part contents for background part 3
  59. ----- text -----
  60.  
  61. You can use this command to access Macintalk and make your Macintosh talk.  Be sure that Macintalk is in your system folder.
  62.  
  63. See also the Speak* XCMD
  64.  
  65.  
  66.  
  67.  
  68. Thanks to:
  69. ? (If anyone knows who wrote this please pass the information on so proper credit can be given.)
  70.  
  71.  
  72. -- part contents for background part 10
  73. ----- text -----
  74. Syntax:
  75.  
  76. Talk "text to speak",<rate>,<pitch>